home *** CD-ROM | disk | FTP | other *** search
- ---------------------------------------------------------------------
- purpose:
- serve amiga files to a pc (microsoft network tcp/ip)
-
- ----------------------------
- samba:
- samba is a package that runs on a UNIX machine and provides file sharing
- to a pc running windows for workgroup /w Wolverine, Microsoft's TCP/IP-32
- package (free for the download), or windows NT using tcp/ip, and probably
- win 95.
- I have included the samba doc's in the directory samba-unix.doc for your viewing pleasure.
-
-
- ----------------------------
- amiga-samba:
- I have ported this samba package to the amiga. this was a quick port
- and I am sure some things won't work as expected. consider this a beta
- test.
-
- ** this is compiled for an '030+ at this time. if you need it compiled for anything
- else, let me know.
-
- this was tested with NT.
-
- ---------------------------
- some of the requirements:
- amiga: AmiTcp 4.0 beta or commercial package
- Ethernet card (a used A2065 can be had for ~$100)
-
- pc: an ethernet card and netbios with tcp/ip
-
- ---------------------------------------------------------------------
- To get started:
-
- you should be able to ping in both directions of course.
-
- - - -
- i have included ixemul.library version 40.4. if you have a version in libs: < than this,
- rename your version to ixemul.library.old and copy this version in the libs: directory.
- make sure you other programs that use ixemul.library still work with the new library.
- don't forget to reboot
-
- - - -
- you should already have an assign for 'amitcp:'
- at this time the binaries are compiled with the following directory
- structure hardcoded in...
- amitcp:samba/bin
- /lib
- /var
- and need to be un-archived at the 'amitcp:' point. or after un-archive, move the directory to
- 'samba' under the 'amitcp:' assign.
-
- - - -
- you will need to modify the file 'amitcp:samba/lib/smb.conf' to share the directories you want.
- i have included an amiga example.
-
- - - -
- next, you need to find out what workgroup is running on the pc. I have compiled in 'WORKGROUP' as
- the default, but if yours is something different, you need to start the nmbd binary with
- -G{name of workgroup}. if you choose to start the binaries by method A below, you will need to
- modify the text in the file startnmd accordingly.
- example: nmbd -D -GLANGROUP
- - - -
- There are two different ways to start the binaries on the amiga.
-
- A. 1. double click on the startnmb icon located in the 'amitcp:samba' directory
- 2. then... double click on the startsmb icon
-
- note: There is no way to cleanly turn off the nmbd and smbd servers
- with this startup method.
-
- B. 1. open 2 CLI windows
- 2. set the stack in one window to 20000 and start the nmbd binary
- with -D as the parameter
- 3. set the stack in the other window to 50000 and start the smbd binary
- with -D as the parameter
-
- ex. stack 20000
- amitcp:samba/bin/nmbd -D
-
- stack 50000
- amitcp:samba/bin/smbd -D
-
- note: you can safely use ^c to stop the binaries using this startup method
-
- ---------------------------------------------------------------------
- warning:
- use at your own risk. not responsible for damage and/or other liability.
-
- ---------------------------------------------------------------------
- future versions:
- like I said before this was a quick port to get it working. I intend to make it easier to
- start and find out the real stack usage and so on.
- amiga diffs to the samba source and a makefile will follow.
-
- ---------------------------------------------------------------------
- known problems:
- . don't use print features
- . if not started up just right, you'll probably need to reboot the amiga
- . the default stack of 4096 when running the binaries will make BIG crash.
- (it also invalidated my drive! once because of it)
- . don't know how the amiga upper/lower case insensitively will work as opposed to a UNIX box
- . the free and total space on the file manager window are wrong
- . the pc will give you invalid password when connecting a network drive, even if the pc and
- the amiga password match. just type the amiga password in.
-
-
- let me know of any problems, and if you can help with amiga specific programming:
- edwede@STL082.magnetek.com
-
-
-
-
-